<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理</title>
<link rel="stylesheet" href="../Public/Css/reset.css" type="text/css" media="screen" />
<!-- Main Stylesheet -->
<link rel="stylesheet" href="../Public/Css/admin.css" type="text/css" media="screen" />
<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
<link rel="stylesheet" href="../Public/Css/invalid.css" type="text/css" media="screen" />
<!--                       Javascripts                       -->
<!-- jQuery -->
<script type="text/javascript" src="../Public/Js/jquery-1.7.min.js"></script>
<!-- jQuery Configuration -->
<script type="text/javascript" src="../Public/Js/simpla.jquery.configuration.js"></script>
<!-- Facebox jQuery Plugin -->
<script type="text/javascript" src="../Public/Js/facebox.js"></script>
<!-- jQuery WYSIWYG Plugin -->
<script type="text/javascript" src="../Public/Js/jquery.wysiwyg.js"></script>
<!-- jQuery Datepicker Plugin -->
<script type="text/javascript" src="../Public/Js/jquery.datePicker.js"></script>
<script type="text/javascript" src="../Public/Js/jquery.date.js"></script>
</head>
<body>
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
  <div id="sidebar">
    <div id="sidebar-wrapper">
      <!-- Sidebar with logo and menu -->
      <h1 id="sidebar-title"><a href="#">&nbsp;</a></h1>
      <!-- Sidebar Profile links -->
	  <div id="profile-links"> 
		  你好, <a href="__APP__/Admin/Index/modify" title="Edit your profile">{$Think.session.real_name}</a><br />
        <br />
		  <a href="__APP__/Index/" title="网站首页">网站首页</a> | <a href="__APP__/Admin/Index/logout" title="注销">注销</a> 
	  </div>
      <ul id="main-nav">
        <!-- Accordion Menu -->
          <!-- Add the class "current" to current menu item -->
		  <!-- Add class "current" to sub menu items also -->
        <li> <a href="#" class="nav-top-item<?php if($currentItem == "NewsAdmin"){echo " current";} ?>">
          新闻模块 </a>
          <ul>
            <li><a href="__APP__/Admin/NewsAdmin/add" <?php if($currentSubItem == "add"){echo 'class="current"';} ?>>添加新闻</a></li>
            <li><a href="__APP__/Admin/NewsAdmin" <?php if($currentSubItem == "index"){echo 'class="current"';} ?>>新闻管理</a></li>
            <li><a href="__APP__/Admin/NewsAdmin/manageShowImg" <?php if($currentSubItem == "manageShowImg"){echo 'class="current"';} ?>>学院要闻滚动图片管理</a></li>
          </ul>
        </li>
		<li> <a href="#" class="nav-top-item<?php if($currentItem == "BulletinAdmin"){echo " current";} ?>">公告模块</a>
          <ul>
            <li><a href="__APP__/Admin/BulletinAdmin/add" <?php if($currentSubItem == "add"){echo 'class="current"';} ?>>添加公告</a></li>
            <li><a href="__APP__/Admin/BulletinAdmin" <?php if($currentSubItem == "index"){echo 'class="current"';} ?>>公告管理</a></li>
          </ul>
        </li>
        <li> <a href="#" class="nav-top-item<?php if($currentItem == "Teacher"){echo " current";} ?>">教师模块</a>
          <ul>
            <li><a href="__APP__/Admin/Teacher/add" <?php if($currentSubItem == "add"){echo 'class="current"';} ?>>添加教师</a></li>
            <li><a href="__APP__/Admin/Teacher" <?php if($currentSubItem == "index"){echo 'class="current"';} ?>>教师信息管理</a></li>
          </ul>
        </li>
        <li> <a href="#" class="nav-top-item<?php if($currentItem == "DownloadAdmin"){echo " current";} ?>">下载文件模块</a>
          <ul>
            <li><a href="__APP__/Admin/DownloadAdmin/addFile" <?php if($currentSubItem == "addFile"){echo 'class="current"';} ?>>添加下载文件</a></li>
            <li><a href="__APP__/Admin/DownloadAdmin/" <?php if($currentSubItem == "index"){echo 'class="current"';} ?>>下载文件管理</a></li>
          </ul>
        </li>
        <li> <a href="__APP__/Admin/Link/index" class="nav-top-item no-submenu<?php if($currentItem == "Link"){echo " current";} ?>">
          <!-- Add the class "no-submenu" to menu items with no sub menu -->
          快速链接管理</a> </li>
        <li> <a href="__APP__/Admin/Index/modify" class="nav-top-item no-submenu<?php if($currentItem == "Index-modify"){echo " current";} ?>">
          <!-- Add the class "no-submenu" to menu items with no sub menu -->
          修改个人资料</a> </li>
		<?php if($_SESSION['permission'] === '0'){ ?>
        <li> <a href="__APP__/Admin/Index/addAdmin" class="nav-top-item no-submenu<?php if($currentItem == "Index-addAdmin"){echo " current";} ?>">
          <!-- Add the class "no-submenu" to menu items with no sub menu -->
          添加一般管理员</a> </li>
        <li> <a href="__APP__/Admin/Index/modifyAdmin" class="nav-top-item no-submenu<?php if($currentItem == "Index-modifyAdmin"){echo " current";} ?>">
          <!-- Add the class "no-submenu" to menu items with no sub menu -->
          修改一般管理员</a> </li>
		 <?php }?>
      </ul>
      <!-- End #main-nav -->
    </div>
  </div>
  <!-- End #sidebar -->
  <div id="main-content">
